package com.micolor.logr.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@MapperScan("com.micolor.logr.demo.mapper")
@SpringBootApplication
@EnableAspectJAutoProxy
@ComponentScan(basePackages = {"com.micolor.logr.demo","com.micolor.logr.runtime"})
@EnableTransactionManagement(order =0)
public class DemoApplication {
    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }

}
